package personal.xjl._23java1studentdemo.service;

import personal.xjl._23java1studentdemo.model.Student;

import java.util.List;

public interface StudentService {
    List<Student> findAll();
    int remove(int id);
    int add(Student student);

    Student findById(int id);

    int edit(Student student);

    List<Student> findByPage(int currPage, int pageSize);

    boolean login(String username, String password);
}
